EMT Practice Test

1. Question Content...


Question List

Question1: How many shipping addresses may be selected for an order during the checkout process?

Question2: You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe.
In which file will the event observer be declared?

Question3: Which type of product has the ability to have individual inventory for each variation from a list of options?

Question4: A client has asked you to include category url keys in product URLs.
How is this done?

Question5: Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID} How is this one?

Question6: Which directory contains language packages?

Question7: Which price type should be used if the developer wants to provide a discount for a product based on quantity, for example, being able to buy two for X amount each?

Question8: A new custom module is built for the existing Adobe Commerce store. A merchant has requested a few frontend updates. For this, a developer has to implement a custom style. What Is the location of the less file that will be included by default?

Question9: Which command should be used to deploy static content?

Question10: Which type of product is typically used for items such as services, memberships, warranties, and subscriptions?

Question11: You are implementing a custom module MyModule, which provides an implementation of \Psr\Log\LoggerInterface called \MyCompany\MyModule\Logger.
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?

Question12: Which action, if any. can be taken to change the URL key of the product?

Question13: How do you add a foreign key to an existing table created by another module?

Question14: What is a valid use case for an around plugin?

Question15: What scopes are available for customer attributes?

Question16: You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.
Which two methods will load the product model by ID as specified in the URL? (Choose two.)

Question17: You are tasked with ensuring customers who log into the site are authorized. By default, this consists of ensuring the customers email and password match the values in the database. On this project, you need to verify additional data in this process.
Keeping in mind upgradeability, how is this done?

Question18: What happens when a category's is_anchor attribute is set to 1?

Question19: A client would like to add an image icon in front of the telephone field to the shipping address form on a checkout page. What is the correct way to modify the Ul component to set a custom template file for the field?
A)

B)

C)

Question20: Which CLI command is used to clear caches?

Question21: Which feature should be used lo display content for a particular segment based on a price rule?

Question22: Which layout file should be used for a product with a specific id?

Question23: A seller would like to offer an electronic version of an album by selling each song individually. Which layout can be used to customize a product page layout for this item?

Question24: Which tag should be used in module.xml to ensure dependency modules are loaded in the proper order?

Question25: What is the length of the generated coupons if the developer has enabled the Auto Generate Coupon feature and has set the coupon prefix = NEWYEAR, coupon quantity = 5, and coupon length = 12?

Question26: What is one purpose of a customer data JS library?

Question27: Which action, if any, should be taken to forbid Adobe Commerce Admin from performing specific actions?

Question28: How can a developer prioritize a plugin's execution, if possible?

Question29: While reviewing a layout file named sales_order_view.xml you notice the element
<update handle="customer_account"/>
What is the purpose of this element?

Question30: Which Adobe Commerce table stores all cron data?

Question31: How should a grid or form be included in an admin page layout using the Ul Component?

Question32: You are setting up a brand new Magento installation for a merchant who is migrating from Magento 1 to Magento 2.
Keeping in mind upgradability and the need to customize, which one do you choose?

Question33: Magento allows you to specify custom values per store for product attributes created in the admin panel.
Which architectural pattern makes it possible?

Question34: What is the relationship between products and categories in Magento?

Question35: Which file is used to add a custom router class to the list of routers?

Question36: What is the correct way to inject CMS block in a layout?
A)

B)

C)

Question37: A JavaScript library, made by a front-end developer, needs to be connected to a single custom page. A method (rom this library must also be called to initialize it. The decision is made to add this JavaScript snippet directly to the PHTML page template.
Which function should be used to complete this task?

Question38: A developer needs to add additional validation that would be triggered before order placement and decides to use checkout_index_index.xml to declare a custom validation is component. Which checkout step in checkout_index_index.xml is used to complete this task?

Question39: Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)